package fr.cie.blog.beans;

/**
 * Comment of blog.
 * 
 * @author AetM
 * 
 */
public class Comment extends AbstractPublication {

	/**
	 * articleOwner.
	 */
	private Article articleOwner;

	/**
	 * @return the articleOwner
	 */
	public final Article getArticleOwner() {
		return articleOwner;
	}

	/**
	 * @param newArticleOwner
	 *            the articleOwner to set
	 */
	public final void setArticleOwner(final Article newArticleOwner) {
		this.articleOwner = newArticleOwner;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */
	@Override
	public final String toString() {
		return "Comment [title=" + getName() + "articleOwner=" + articleOwner
				+ "]";
	}
}